<template>
    <div>
        <el-container class="index-container">
            <el-header>
                <IndexHeader></IndexHeader>
            </el-header>
            <el-container>
                <el-aside width="200px">
                    <IndexAside></IndexAside>
                </el-aside>
                <el-main><router-view></router-view></el-main>
            </el-container>
        </el-container>
    </div>
</template>

<script>
import IndexHeader from '@/components/Index/IndexHeader.vue'
import IndexAside from '@/components/Index/IndexAside.vue'
export default {
  data () {
    return {

    }
  },
  components: {
    IndexHeader,
    IndexAside
  },
  mounted () {
    // sessionStorage.clear()
  }
}
</script>
<style lang="scss" scoped>
.el-header {
    background-color: #B3C0D1;
    color: #333;
    text-align: center;
    line-height: 60px;
}

.el-aside {
    background-color: #D3DCE6;
    color: #333;
    text-align: center;
    line-height: 200px;
}

.el-main {
    background-color: #E9EEF3;
    color: #333;
    position: fixed;
    left: 200px;
    right: 0;
    top: 60px;
    bottom: 0;
    height: 95%;
    overflow-y: scroll;
}

.index-container {
    position: fixed;
    height: 100%;
    width: 100%;
}</style>
